package template;

public interface IMessage<T>{
    void setMsg(T t);
}

class IMessageImpl1<T> implements IMessage<T>{

    @Override
    public void setMsg(T t) {

    }
}

class IMessageImpl2 implements IMessage<String>{

    @Override
    public void setMsg(String s) {

    }
}